﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/*
 * 六种请求方式
 * 1.post
 * 2.get
 * 3.head
 * 4.put
 * 5.delete
 * 6.upload
 * 
 * 要逐一实现
 * 注意点：
 * 1.要注意编码的问题 - 这是一个要严重问题
 */

namespace Ycg.Web
{
    public class HttpWrapper
    {
        public static string Request(string url)
        {
            return string.Empty;
        }

        public static string Request(string url, Encoding encoding)
        {
            return string.Empty;
        }

        public static string Get(string url)
        {
            return string.Empty;
        }

        public static string Get(string url, Encoding encoding)
        {
            return string.Empty;
        }

        public static string Get(string url, params HttpParameter[] parameters)
        {
            return string.Empty;
        }

        public static string Get(string url, Encoding encoding, params HttpParameter[] parameters)
        {
            return string.Empty;
        }

        public static string Post(string url)
        {
            return string.Empty;
        }

        public static string Post(string url, Encoding encoding)
        {
            return string.Empty;
        }

        public static string Post(string url, params HttpParameter[] parameters)
        {
            return string.Empty;
        }

        public static string Post(string url, Encoding encoding, params HttpParameter[] parameters)
        {
            return string.Empty;
        }
    }
}
